<div class="content_box">
  <h1>
  <?php echo $event->getBolaoCategory()->getName() ?>
  <?php
    if ($event->hasBolaoSubcategory())
      echo ' ('.$event->getBolaoSubcategory()->getName().') - ';
    else
      echo ' - ';
  ?>
  <?php echo $event->getDescription() ?>
  </h1>
  <div class="right_corner">
    <a class="contentbox_btn" href="<?php echo url_for('event/edit?id='.$event->getId()) ?>">Editar</a>
  </div>
  <div class="content">
    <h4>Location: </h4><?php echo $event->getLocation() ?><br/>
    <h4>Start date: </h4><?php echo $event->getStartDate('d/m/Y').' '.$event->getStartTime('h:i') ?>
  <?php if ($event->hasEndDate()) : ?>
    <h4>End date: </h4><?php echo $event->getEndDate('d/m/Y').' '.$event->getEndTime('h:i') ?>
  <?php endif; ?>
    <br />
    <h4>Creator: </h4><?php echo $event->getCreator() ?><br/>
    <h4>Updated at: </h4><?php echo $event->getUpdatedAt() ?>

    <div class="content_footer">
    <?php echo link_to('Mais eventos', 'event/index?month='.$event->getStartDate('m').'&year='.$event->getStartDate('Y')) ?>
    </div>
  </div>
</div>
